package org.dothwinds.serviceconsumer.serviceinterface;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//FeignClient需要调用的服务
@FeignClient("SERVICE-PROVIDER")
public interface ServiceConsumerInterface {

    @GetMapping(value = "/service")
    public String serviceCousumer();
}
